<?php
$conn=mysqli_connect("localhost",'root','123456','login') or die("数据库连接失败！");
$conn->query("set names utf8");
?>